<template>
  <div class="orderSearch">
    <el-input v-model="input2" placeholder="请输入搜索内容" resize="horizontal">
      <template #suffix>
        <el-button type="primary" round="true">搜索</el-button>
      </template>
    </el-input>
  </div>
</template>

<script>
import { ElInput, ElButton } from "element-plus";
export default {
  data() {
    return {};
  },

  components: {
    ElInput,
    ElButton
  },

  computed: {},

  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>

.orderSearch {
  margin-right: 50px;

  .el-search {
    /deep/.el-input__prefix-inner {
      // display: flex;
      // align-items: center;
      // line-height: 32px;
      background: blue;
      button{
          border-radius: 1px;
      }
    }
  }
}

/deep/.el-input__inner {
  text-align: right;
  padding-right: 70px;
}

/deep/.el-input__prefix {
  display: flex;
  justify-content: center;
  align-items: center;
}
/deep/.el-input__suffix {
  height: 100%;
  display: flex;
  align-items: center;
  right: 4px;
}
/deep/.el-input__suffix-inner {
  width: 50px;
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
//   background-color: #232f62;
  color: #fff;
}
/deep/.el-button.is-round{
    border-radius: 1px;
}
.max-input /deep/ .el-input__inner{
  width:503px !important
}
</style>
